package cn.com.surker.enums.material;

import cn.com.surker.enums.ICodeDescEnum;

/**
 * 入库
 * @author luotao
 * @date 2023/7/24
 */
public enum StorageWay implements ICodeDescEnum {

	AUTO(0,"自动入库"), MANUAL(1,"手动录入"),SCAN(2,"扫码入库");

	private final String description;

	private final Integer code;

	StorageWay(Integer code, String description) {
		this.description = description;
		this.code = code;
	}


	@Override
	public String getDescription() {
		return description;
	}

	@Override
	public Integer getCode() {
		return code;
	}
}
